package com.xyoto.takeawayUser.entity;

import com.xyoto.takeawayUser.utils.handler.CreateTime;
import com.xyoto.takeawayUser.utils.handler.ModifiedTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Administrator
 */
@ApiModel("基底类")
@Data
public class Base {

    @ApiModelProperty("自增id")
    private Integer id;

    @ApiModelProperty("创建时间")
    @CreateTime
    private Date createTime;

    @ApiModelProperty("修改时间")
    @ModifiedTime
    private Date modifiedTime;

}
